package com.genghis.ptas.constant;

/**
 * 公共常量
 *
 * @author chenl
 * @version 1.0.1
 */

public class DictConstant {

    public static final int DATE_INT = 0;

    public static final int MINUS_ONE = -1;

    public static final String DATE_STRING = "";

    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";

    public static final String DEFAULT_USER_PHOTO_URL = "img/login/default_photo.png";

    public static final String STATE = "state";
    // 状态1-已启用 有效
    public static final int STATE_IN_USE = 1;
    // 状态0-未启用 无效
    public static final int STATE_NO_USE = 0;

    //空值
    public static final int VOID_VALUE = 0;

    //最热课件数量
    public static final int HOT_COURSE_VALUE = 10;

    //周排行月排行记录数量
    public static final int QUERY_RANK = 11;

    //系统推荐记录数量
    public static final int SYSTEM_RECOMMEND = 10;

    // 上传task的地址
    public static final String TASK_FILE_NAME = "tasks";
    // task对应的名
    public static final String TASK_TXT = "task.txt";
    // 上传Scorm的地址
    public static final String TOP_SCORM_FILE_NAME = "scorms";
    // 上传Scorm的地址
    public static final String USER_PHOTO_ROOT_URL = "photos";
    // SCORM解压到的文件夹名
    public static final String SCORM_FILE_NAME = "scorm";
    // SCORM对应的图片名
    public static final String SCORM_IMG = "logo.jpg";
    // SCORM对应的课件名
    public static final String SCORM_NAME = "scorm.zip";
    // SCORM课件XML名
    public static final String IMSMANIFEST = "imsmanifest.xml";
    //SCORM课件XML章节标签
    public static final String ORGANIZATION = "organization";
    public static final String ITEM = "item";
    // 用户头像的图片名
    public static final String PHOTO_IMG = "photo.jpg";
    //审核状态   1已审核，0待审核；
    public static final int AUDITING = 0;
    public static final int AUDIT = 1;

    public static final int PAST = 1;
    public static final int REJECT = 2;

    //是否审核 字典名
    public static final String AUDIT_STATE = "audit_state";
    //学习状态 字典名
    public static final String STUDY_STATE = "study_state";

    //未学习
    public static final String NOTATTEMPTED = "notattempted";
    //未学习
    public static final String NOTATTEMPTED_TRANSLATION = "未开始";
    //学习中
    public static final String INCOMPLETE = "incomplete";
    //学习中
    public static final String INCOMPLETE_TRANSLATION = "未完成";
    //已学习
    public static final String COMPLETE = "completed";
    //已学习
    public static final String COMPLETE_TRANSLATION = "已完成";

    //未学习
    public static final Integer STUDY_STATE_0 = 0;
    //学习中
    public static final Integer STUDY_STATE_1 = 1;
    //完成学习
    public static final Integer STUDY_STATE_2 = 2;

    //角色
    public static final String ROLE_SYSTEM = "系统管理员";
    public static final String ROLE_USER = "用户";

    //进入课件时状态  重新观看
    public static final String ABINITIO = "ab-initio";
    //进入课件时状态  记录处观看
    public static final String RESUME = "resume";

    //问题是否被采纳   字典名
    public static final String IS_ADOPTED = "is_adopted";
    // 未被采纳
    public static final int IS_ADOPTED_0 = 0;
    // 被采纳
    public static final int IS_ADOPTED_1 = 1;

    //分类  教育
    public static final String EDUCATION = "教育";
    //分类  社科
    public static final String SOCIAL = "社科";
    //分类  其他
    public static final String OTHERS = "其他";

    //统计项 字典名
    public static final String STATISTIC_ITEMS = "statistic_items";
    //统计项 字典名
    public static final String DEFAULT_STATISTIC_ITEMS = "register_number";
    //统计方式 字典名
    public static final String STATISTIC_STYLE = "statistic_style";
    //名次段 字典名
    public static final String RANKING = "ranking";
    //学历 字典名
    public static final String EDUCATION_DICT = "education";
    //试题类型 字典名
    public static final String TASKTYPE = "task_type";
    //性别 字典名
    public static final String SEX = "sex";
    //是否在线 字典名
    public static final String IS_ON_LINE = "is_on_line";
     //是否在线 字典名
    public static final int ON_LINE = 1;
    //是否在线 字典名
    public static final int NOT_ON_LINE = 0;
    //信箱分类 字典名
    public static final String INBOX_CATEGORY = "inbox_category";
    //信箱分类 字典值1：接受的邮件
    public static final int INBOX_CATEGORY_1 = 1;
    //信箱分类 字典值1：发送的邮件
    public static final int INBOX_CATEGORY_2 = 2;
    //信箱分类 字典值1：草案箱
    public static final int INBOX_CATEGORY_3 = 3;

    //信箱分类 字典值1：未读的邮件
    public static final int INBOX_STATE_0 = 0;
    //信箱分类 字典值1：已读的邮件
    public static final int INBOX_STATE_1 = 1;
    //信箱分类 字典值1：申请加好友的邮件
    public static final int INBOX_STATE_2 = 2;
    //信箱分类 字典值1：回复加好友的邮件
    public static final int INBOX_STATE_3 = 3;
    //信箱分类 字典值1：垃圾箱邮件
    public static final int INBOX_STATE_4 = 4;


    //课件质量
    public static final String QUALITY = "quality";


    //逆序
    public static final String DESC = "DESC";
    //正序
    public static final String ASC = "ASC";

    public static final String FOOTER = "2014 &copy; 长春工业大学. 苏格拉没有底开发小队 版权所有";
    //主页分页——数据显示量
    public static final Integer PAGE = 9;
}